﻿using System;
using System.Linq.Expressions;
using FikriKibar.Entities.Concrete;

namespace FikriKibar.DataAccess.Abstract
{
    public interface IUserDal : IEntityRepository<User>
    {
        User GetById(int userId);
        User GetByUsername(string username);
        User GetByEmail(string email);
        int GetTotalCount(Expression<Func<User, bool>> where);
    }
}
